package com.entity;

public class Deptrole {

	private int deptid;
	private String deptname;
	private int roleid;
	private String rolename;
	private float basewages;
	private float overtimestandard;
	private float leavestandard;
	private float absentstandard;
	
	private String createtime;
	private String updatetime;
	//以下是权限种类
	private String readrange;
	private String function2;
	private String function3;
	//..........更多权限种类
	
	
	//全含构造法
	public Deptrole(int deptid, String deptname, int roleid, String rolename, float basewages,
			float overtimestandard, float leavestandard, float absentstandard, String createtime, String updatetime,
			String readrange, String function2, String function3) {
		super();
		this.deptid = deptid;
		this.deptname = deptname;
		this.roleid = roleid;
		this.rolename = rolename;
		this.basewages = basewages;
		this.overtimestandard = overtimestandard;
		this.leavestandard = leavestandard;
		this.absentstandard = absentstandard;
		this.createtime = createtime;
		this.updatetime = updatetime;
		this.readrange = readrange;
		this.function2 = function2;
		this.function3 = function3;
	}
	//显示所有部门时
	public Deptrole(String deptname, String rolename, float basewages, float overtimestandard, float leavestandard,
			float absentstandard, String createtime, String updatetime, String readrange, String function2,
			String function3) {
		super();
		this.deptname = deptname;
		this.rolename = rolename;
		this.basewages = basewages;
		this.overtimestandard = overtimestandard;
		this.leavestandard = leavestandard;
		this.absentstandard = absentstandard;
		this.createtime = createtime;
		this.updatetime = updatetime;
		this.readrange = readrange;
		this.function2 = function2;
		this.function3 = function3;
	}
	@Override
	public String toString() {
		return "Deptrole [deptid=" + deptid + ", deptname=" + deptname + ", roleid=" + roleid + ", rolename=" + rolename
				+ ", basewages=" + basewages + ", overtimestandard=" + overtimestandard + ", leavestandard="
				+ leavestandard + ", absentstandard=" + absentstandard + ", createtime=" + createtime + ", updatetime="
				+ updatetime + ", readrange=" + readrange + ", function2=" + function2 + ", function3=" + function3 + "]";
	}
	//创建新部门时,普通职员
	public Deptrole(String deptname, int roleid, String rolename, float basewages, float overtimestandard,
			float leavestandard, float absentstandard, String readrange, String function2, String function3) {
		super();
		this.deptname = deptname;
		this.roleid = roleid;
		this.rolename = rolename;
		this.basewages = basewages;
		this.overtimestandard = overtimestandard;
		this.leavestandard = leavestandard;
		this.absentstandard = absentstandard;
		this.readrange = readrange;
		this.function2 = function2;
		this.function3 = function3;
	}
	//创建新部门时,普通职员
	public Deptrole(int deptid, String deptname, int roleid, String rolename, float basewages,
			float overtimestandard, float leavestandard, float absentstandard, String readrange, String function2,
			String function3) {
		super();
		this.deptid = deptid;
		this.deptname = deptname;
		this.roleid = roleid;
		this.rolename = rolename;
		this.basewages = basewages;
		this.overtimestandard = overtimestandard;
		this.leavestandard = leavestandard;
		this.absentstandard = absentstandard;
		this.readrange = readrange;
		this.function2 = function2;
		this.function3 = function3;
	}
	public Deptrole() {
		super();
		// TODO Auto-generated constructor stub
	}
	public int getDeptid() {
		return deptid;
	}
	public void setDeptid(int deptid) {
		this.deptid = deptid;
	}
	public String getDeptname() {
		return deptname;
	}
	public void setDeptname(String deptname) {
		this.deptname = deptname;
	}
	public int getRoleid() {
		return roleid;
	}
	public void setRoleid(int roleid) {
		this.roleid = roleid;
	}
	public String getRolename() {
		return rolename;
	}
	public void setRolename(String rolename) {
		this.rolename = rolename;
	}
	public float getBasewages() {
		return basewages;
	}
	public void setBasewages(float basewages) {
		this.basewages = basewages;
	}
	public float getOvertimestandard() {
		return overtimestandard;
	}
	public void setOvertimestandard(float overtimestandard) {
		this.overtimestandard = overtimestandard;
	}
	public float getLeavestandard() {
		return leavestandard;
	}
	public void setLeavestandard(float leavestandard) {
		this.leavestandard = leavestandard;
	}
	public float getAbsentstandard() {
		return absentstandard;
	}
	public void setAbsentstandard(float absentstandard) {
		this.absentstandard = absentstandard;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public String getUpdatetime() {
		return updatetime;
	}
	public void setUpdatetime(String updatetime) {
		this.updatetime = updatetime;
	}
	public String getReadrange() {
		return readrange;
	}
	public void setReadrange(String readrange) {
		this.readrange = readrange;
	}
	public String getFunction2() {
		return function2;
	}
	public void setFunction2(String function2) {
		this.function2 = function2;
	}
	public String getFunction3() {
		return function3;
	}
	public void setFunction3(String function3) {
		this.function3 = function3;
	}
}
